import request from "@/utils/request";
// 巡检点列表查询
export function API_pointsList(data) {
  return request({
    url: "/deploy.viewpoint/viewpoint.info.get/",
    params: data,
    method: "get",
    timeout: 20000,
  });
}
//巡检对象列表查询
export function API_inspectObj(data) {
  return request({
    url: "/deploy.viewpoint/device.info.get",
    params: data,
    method: "get",
    timeout: 20000,
  });
}

// 巡检对象保存虚拟值
export function API_saveDevice(data) {
  return request({
    url: "/deploy.viewpoint/device.info.save",
    data: data,
    method: "post",
  });
}
